<template>
  <div>
    <h2>门店录入页面</h2>
    <table class="table table-bordered">
      <tr>
        <td>名字</td>
        <td>
          <input type="text" />
        </td>
      </tr>

      <tr>
        <td>电话</td>
        <td>
          <input type="text" />
        </td>
      </tr>
<tr>
        <td>电话显示页面</td>
        <td>
          <input type="text" />
        </td>
      </tr>

      <tr>
        <td>地址</td>
        <td>
          <input type="text" />
        </td>
      </tr>

      <tr>
        <td>开始时间</td>
        <td>
          <input type="date" />
        </td>
      </tr>

      <tr>
        <td>邮件</td>
        <td>
          <input type="text" />
        </td>
      </tr>

      <tr>
        <td></td>
        <td>
          <input type="button" value="录入" @click="add" />
          <input type="button" value="优惠券录入" @click="addMoney" />
        </td>
      </tr>
    </table>
  </div>
</template>

<script setup lang="ts">

const add = () => {
  alert("录入成功");
  location.href = "/AddShow";
};

const addMoney = () => {
  location.href = "/Money";
};
</script>

<style>
</style>